function play_ecg(step=200)
x1 = xlim();
while(1)
x1 = x1+step/1000;

xlim(x1);
usleep(step);
endwhile


endfunction
